nautil
Class MessageCertificator

public class MessageCertificator

Title: Notarization Authority Utilities

Description:

Copyright: Copyright (c) 2003

Company: UCSC

Version:
1.0
Author:
H.E.M.H.B. Ekanayake
Method Detail

issue

public MessageCertificate issue(String purpose,
                                DN issuer,
                                DN subject,
                                TimeStamp timestamp,
                                MessageHeader messageheader,
                                byte[] messagebody,
                                boolean useDigest,
                                String messagestatus,
                                PrivateKey prv)
Parameters:
purpose - proof-of-posting or any other purpose
issuer - who issues the certificate
subject - to whom this certificate is issued to
timestamp - timestamp relavant to the purpose
messageheader - message header
messagebody - hash value of the message body
useDigest - hash value is to be calculated or not
messagestatus - the current status of the message
prv - private key
Returns:
the resulting message certificate